package com.ky.pro.java.dt.app.proxy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 配餐处理表
 * </p>
 *
 * @author Kevin Dummy
 * @since 2021-12-26
 */
@Getter
@Setter
@ApiModel(value = "Order对象")
@Builder
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("订单号;订单号")
    private Long orderNo;

    @ApiModelProperty("用户ID;用户ID")
    private Long userId;

    @ApiModelProperty("订单状态;订单状态, 0 - 已下单, 1 - 已支付, 2 - 已配送, 3 - 已取消")
    private Integer orderStatus;

    @ApiModelProperty("删除标志;删除标志, 0 - 未删除，1 - 已删除")
    private Boolean delStatus;

    @ApiModelProperty("版本号;版本号")
    private Integer version;

    @ApiModelProperty("创建时间;创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新时间;更新时间")
    private LocalDateTime updatedTime;


}
